//随机生成rgba颜色 
const getRgba = () => {
    const r = Math.floor(Math.random() * 256);
    const g = Math.floor(Math.random() * 256);
    const b = Math.floor(Math.random() * 256);
    const a = (Math.random() * 1).toFixed(1);
    return `rgba(${r},${g},${b},${a})`
}

export default getRgba
